<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form th:action="@{/cou/modone}" method="post" th:object="${cou}">
    <label for="cno">课程编号</label>
    <input type="hidden" th:field="*{id}">
    <input type="text" th:field="*{cno}"></br>
    <label for="cname">课程名</label>
    <input type="text" th:field="*{cname}"></br>
    <label for="points">学分</label>
    <input type="text" th:field="*{points}"></br>
    <label for="img">课程美照</label>
    <input type="file" accept="image/jpeg,image/gif,image/png,image/jpg" name="photo">
    </br>
    <button>提交</button>
</form>
</body>
</html>